package com.example.doer.reading;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 杨轩昂 on 2017/7/11.
 */

public class Chapter {
    private int chapterNo,offset;//因为章节提取产生的是汉字诸如“第八章”，所以设置chapterName为String类型；offset表示该章节在小说行数
    private String chapterName;
    private List<Comment> commentList = new ArrayList<Comment>();//每个章节对应有一系列评论
    public Chapter(int chapterNo,int offset,String chapterName){
        this.chapterNo = chapterNo;
        this.offset = offset;
        this.chapterName = chapterName;
    }
}
